﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;

namespace WebApi.Model
{
    /// <summary>
    /// 
    ///</summary>
    [SugarTable("system_user")]
    public class system_user
    {
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="id" ,IsPrimaryKey = true   )]
         public int id { get; set; }
        
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName= "login_name")]
         public string? login_name { get; set; }
        
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName= "user_name")]
         public string? user_name { get; set; }
        
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="password"    )]
         public string? password { get; set; }
        
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="address"    )]
         public string? address { get; set; }
        
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="imgurl"    )]
         public string? imgurl { get; set; }
        
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="gender"    )]
         public string? gender { get; set; }
        
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="mobile"    )]
         public string? mobile { get; set; }
        
        /// <summary>
        /// 备注 
        ///</summary>
         [SugarColumn(ColumnName="remark"    )]
         public string? remark { get; set; }
        
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="unionid"    )]
         public string? unionid { get; set; }
        
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="openid"    )]
         public string? openid { get; set; }
        
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="valid"    )]
         public int? valid { get; set; }
        
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="qrimgurl"    )]
         public string? qrimgurl { get; set; }
        
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="orglevels"    )]
         public string? orglevels { get; set; }
        
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="orgid"    )]
         public int? orgid { get; set; }
        
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="isdel"    )]
         public int? isdel { get; set; }
        
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="adduserid"    )]
         public int? adduserid { get; set; }
        
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="lastuserid"    )]
         public int? lastuserid { get; set; }
        
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="addtime"    )]
         public DateTime? addtime { get; set; }
        
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="lasttime"    )]
         public DateTime? lasttime { get; set; }
        
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="login_token"    )]
         public string? login_token { get; set; }
        
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="login_token_exp"    )]
         public DateTime? login_token_exp { get; set; }
        
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="login_time"    )]
         public DateTime? login_time { get; set; }
        
    }
}
